<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>🐰 可爱兔子照片生成器</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <style>
        body {
            background: linear-gradient(135deg, #ffeaa7, #fab1a0);
            min-height: 100vh;
        }
        .rabbit-card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }
        .bounce {
            animation: bounce 2s infinite;
        }
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }
        .loading {
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
    </style>
</head>
<body class="flex items-center justify-center p-4">
    <div class="container mx-auto max-w-2xl">
        <div class="text-center mb-8">
            <h1 class="text-4xl font-bold text-gray-800 mb-2">
                <i class="fas fa-rabbit text-pink-500"></i>
                可爱兔子照片生成器
            </h1>
            <p class="text-gray-600">点击按钮，发现一只可爱的兔子！</p>
        </div>

        <div class="rabbit-card p-8">
            <div id="image-container" class="text-center mb-6">
                <div class="w-full h-96 bg-gray-100 rounded-lg flex items-center justify-center">
                    <div class="text-center">
                        <i class="fas fa-rabbit text-6xl text-gray-300 mb-4"></i>
                        <p class="text-gray-500">点击按钮生成兔子照片</p>
                    </div>
                </div>
            </div>

            <div class="text-center">
                <button id="generate-btn" class="bg-pink-500 hover:bg-pink-600 text-white font-bold py-3 px-8 rounded-full transition duration-300 transform hover:scale-105">
                    <i class="fas fa-magic mr-2"></i>
                    生成可爱兔子
                </button>
            </div>

            <div id="loading" class="hidden text-center mt-4">
                <i class="fas fa-spinner loading text-pink-500 text-2xl"></i>
                <p class="text-gray-600 mt-2">正在寻找可爱的兔子...</p>
            </div>
        </div>

        <footer class="text-center mt-8 text-gray-600">
            <p>🐰 每天都有新兔子陪伴你！</p>
        </footer>
    </div>

    <script src="script.js"></script>
</body>
</html>
